home *** CD-ROM | disk | FTP | other *** search
- Here is the new/improved Gcc compilable kernel:
- Thanks to Howard Johnson, Frans Meulenbroeks, and Eric Smith for
- their contributions.
-
- ++ applied ers's fixes of 03/03/89 (ALT key for middle mouse + fix in stmouse)
- ++ applied hcj's fixes of 03/12/89 (Rs232 fixups + patch in kernel/stdmp)
- ++ applied frans fixes of 03/15/89 (stsia patches + minor cleanups)
- ++ applied poole fixes of 03/14/89 (FS patches, see FSCHANGES.DOC)
- (Thanks to Simon Poole for his FS patches, great stuff!!)
- ++ added dale schumakers font hack to stfnt.c
- ++ added bruce szablaks cursor inhibit hacks to stvdu.c
- ++ added Ronald Lamprechts eff. hacks, thanks ronald. See ron_changes
- for details.
- ++ added autowrap in kernel/stvdu.c. if you do not want this feature
- then turn it off by define'ing NO_AUTOWRAP in h/const.h or on
- the command line.
- ++ as per all the discussions on the net, in fs/buf.h took out
- all the unnecessary WRITE_IMMED
- ++ in fs/cache.c: write all dirty blocks to a device when any one
- needs to be flushed
- ++ in fs/cache.c incorporated elevator algorithm for flushing dirty
- blocks to a device. NOTE: in fs/misc.c:do_sync(): did not add
- code for elevator algorithm as that happens relatively rarely, and
- is probably not worth the code overhead.
- (now thinking about readahead, anyone have some good ideas??)
- ++ code cleanup all over the place. may multibit shifts replaced
- by shift/mask, where the shift happens outside a loop, or
- only once per loop etc. (still more to do here).
- ++ almost all the features/fixes from the upcoming minix-ST V1.4
- update incorporated. Note: that there are some mis-features
- (IMHO) in V1.4, that i filtered out and did'nt adopt (namely
- the new tty interface, which is very extremely severly brain damaged,
- and some other minor details).
- ++ added a few fixes for hcj rs232.c (that i had forgotten to do so earlier)
- files effected: rstty.c, rs232.c, tty.c and h/sgtty.h.
- copy h/sgtty.h to $INCLUDE after the patch.
-
- - check config in h/const.h (also look over h/com.h
- fs/table.c and kernel/table.c)
- - tailor Makefiles in kernel/ fs/ and mm/
- - make kernel/kernel.mix, fs/fs.mix, mm/mm.mix,
- sttools/fsck.mix sttools/init.mix using Gcc V1.33 or V1.34
- - make build and bootblock with Ack cc
- - then do the build .... to make minix.img (or just
- hit make in sttools after the above steps)
- - please use fsck.c in util/fsck when using gcc to
- compile fsck. same goes for format.c (for WANTFORMAT)
-
- -The following pre-processor symbols control features:
- WANT_HCJ_RS232 - include H. Johnsons rs232 driver
- WANT_HCJ_MIDI - " " midi "
- WANT_FHM_RS232 - include Frans Meulenbroeks rs232 driver
-
- You cannot have both WANT_HCJ_RS232 and WANT_FHM_RS232
-
- #define WANTSCREEN if you want Eric Smiths screen driver
- #define WANTMOUSE " " mouse driver
- #define CLOCKS if you want the code for disk controller
- based clocks (bms/supra etc). This support
- is now via ioctl(). Previously we had a bms
- device.
- #define WANTTAPE if you want Howard Johnsons Scsi Tape driver
- #define WANTNEWFLOP if you want Howard Chu's floppy patches
- #define WANTFORMAT if you want to format floppies
- #define WANTPTRACE if you want the ptrace/mdb support
- #define WANTLOCAL if you want Howard Johnsons local support
-
- Now you can have any combination of drivers.
- Please CAREFULLY read fs/table.c to find out
- about major device #'s, when using a particular
- combination of #define WANT_XXX's.
- Please take equal care when adding devices
- (in particular see
- fs/table.c, kernel/table.c, h/const.h and h/com.h)
-
- - Simon pooles kbd stuff can be controlled with #ifdef COMPAT
- - #define SUPRA if you want the SUPRA patch for kernel/stwini.c
- - KERNEL is always #define'ed when compiling any component of the kernel.
- - define NO_POOLE_FS is you do *not* want the Simon Poole fs patches.
- (see FSCHANGES.DOC for what they are).
-
- - Things that are *not* tested at all by me:
- midi, clocks, tape, supra, format, local
- will appreciate any feedback on these.
- Of course i have not tested all combinations of the
- others. See various Makefiles for the ones that i have.
- - See note about stfloppy in kernel/README.
-
-
- Table of Major Device Numbers
-
- /* 0 = not used */
- MEM /* 1 = /dev/mem */ /* WANTSCREEN is 1,4 = /dev/screen */
- FLOPPY, /* 2 = /dev/fd0 */
- WINCHESTER, /* 3 = /dev/hd0 */
- TTY, /* 4 = /dev/tty0 */ /* WANT_FHM_RS232 is 4,1 = /dev/tty1 */
- TTY, /* 5 = /dev/tty */
- PRINTER /* 6 = /dev/lp */
-
- !WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- /* no more entries */
- !WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && WANT_HCJ_MIDI
- MIDI /* 7 = /dev/midi */
-
- !WANTTAPE && !WANTMOUSE && WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
-
- !WANTTAPE && !WANTMOUSE && WANT_HCJ_RS232 && WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- MIDI /* 8 = /dev/midi */
-
- !WANTTAPE && WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- MOUSE /* 7 = /dev/mouse */
-
- !WANTTAPE && WANTMOUSE && !WANT_HCJ_RS232 && WANT_HCJ_MIDI
- MIDI /* 7 = /dev/midi */
- MOUSE /* 8 = /dev/mouse */
-
- !WANTTAPE && WANTMOUSE && WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- MOUSE /* 8 = /dev/mouse */
-
- !WANTTAPE && WANTMOUSE && WANT_HCJ_RS232 && WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- MIDI /* 8 = /dev/midi */
- MOUSE /* 9 = /dev/mouse */
-
- WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- TAPE /* 7 = /dev/tape */
-
- WANTTAPE && !WANTMOUSE && !WANT_HCJ_RS232 && WANT_HCJ_MIDI
- MIDI /* 7 = /dev/midi */
- TAPE /* 8 = /dev/tape */
-
- WANTTAPE && !WANTMOUSE && WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- TAPE /* 8 = /dev/tape */
-
- WANTTAPE && !WANTMOUSE && WANT_HCJ_RS232 && WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- MIDI /* 8 = /dev/midi */
- TAPE /* 9 = /dev/tape */
-
- WANTTAPE && WANTMOUSE && !WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- TAPE /* 7 = /dev/tape */
- MOUSE /* 8 = /dev/mouse */
-
- WANTTAPE && WANTMOUSE && !WANT_HCJ_RS232 && WANT_HCJ_MIDI
- MIDI /* 7 = /dev/midi */
- TAPE /* 8 = /dev/tape */
- MOUSE /* 9 = /dev/mouse */
-
- WANTTAPE && WANTMOUSE && WANT_HCJ_RS232 && !WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- TAPE /* 8 = /dev/tape */
- MOUSE /* 9 = /dev/mouse */
-
- WANTTAPE && WANTMOUSE && WANT_HCJ_RS232 && WANT_HCJ_MIDI
- RS232 /* 7 = /dev/tty1 */
- MIDI /* 8 = /dev/midi */
- TAPE /* 9 = /dev/tape */
- MOUSE /* 10 = /dev/mouse */
-
-
- Your feedback will be much appreciated,
- enjoy,
- usenet: {decvax,sun}!cwjcc!dsrgsun!bammi jwahar r. bammi
- csnet: bammi@dsrgsun.ces.CWRU.edu
- arpa: bammi@dsrgsun.ces.CWRU.edu
- compuServe: 71515,155
-
-